/**
 * @Project TMHSC
 * @Author Tran Manh Hung
 * @Email: hungtmit@gmail.com | tmh@xwebgate.com
 * @Copyright © 2011 TMH. All rights reserved
 * @Createdate Feb 26, 2011
 * @Createtime 4:49:56 PM
 */

package com.tmh.study.aS3DP.mcv.weatherMap
{

	public class Controller implements ICompInputHandler
	{
		private var model:Object;

		public function Controller(aModel:IModel)
		{
			model = aModel;
		}

		public function compChangeHandler(index:uint):void
		{
			(model as IModel).setRegion(index); // update model
		}
	}
}